struct person{
char name[20];
int age;
char course[20];
float score;
struct person *role;

};

typedef struct person PERSON;

void input(PERSON *p)
{
	scanf("%s%d%s%f",name,&age,course,&score);
	p->role=NULL;

}
void output(PERSON *p)
{
	printf("%s %d %s %f\n",name,age,course,score);
	
}
PERSON you,me;

int main()
{
	PERSON * cur;
	cur=&you;
	input(cur);
	output(cur);
	cur=&me;
	input(cur);
	output(cur);
	me.role=&you;
	you.role=NULL;
	cur=&me;
	output(cur);
	cur=cur->role;
	output(cur);
	cur=cur->role;
	if(cur==NULL)
		puts("Finished!");
}

